home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Networking / MacTCP / MacTCP Developer Tools / MacTCP 1.1 DTS Header Changes / AddressXlation.h.diff next >
Encoding:
Text File  |  1993-06-15  |  2.1 KB  |  75 lines  |  [TEXT/MPS ]

  1. File #1: AddressXlation.h
  2. File #2: fixed:AddressXlation.h
  3.  
  4. Extra lines in 2nd before 8 in 1st (File "AddressXlation.h"; Line Δ8; File "fixed:AddressXlation.h"; Line 8:9)
  5.    8        Modifications by Steve Falkenburg, Apple MacDTS 8/91
  6.    9        
  7.  
  8.  
  9. Nonmatching lines (File "AddressXlation.h"; Line 10:13; File "fixed:AddressXlation.h"; Line 12:26)
  10.   10    #define NUM_ALT_ADDRS   4
  11.   11    
  12.   12    typedef struct hostInfo {
  13.   13        int rtnCode;
  14.  
  15.   12    /* conditional #include -->SJF<-- */
  16.   13    
  17.   14    #ifndef __ADDRESSXLATION__
  18.   15    #define __ADDRESSXLATION__
  19.   16    
  20.   17    /* added for misc. definitions -->SJF<-- */
  21.   18    #ifndef __MACTCPCOMMONTYPES__
  22.   19    #include <MacTCPCommonTypes.h>
  23.   20    #endif
  24.   21    
  25.   22    
  26.   23    #define NUM_ALT_ADDRS   4
  27.   24    
  28.   25    typedef struct hostInfo {
  29.   26        long rtnCode;                           /* changed from int -->SJF<-- */
  30.  
  31.  
  32. Nonmatching lines (File "AddressXlation.h"; Line 38; File "fixed:AddressXlation.h"; Line 51)
  33.   38        int rtnCode;
  34.  
  35.   51        long rtnCode;                           /* changed from int -->SJF<-- */
  36.  
  37.  
  38. Nonmatching lines (File "AddressXlation.h"; Line 50; File "fixed:AddressXlation.h"; Line 63)
  39.   50        unsigned short class;
  40.  
  41.   63        unsigned short cacheClass;              /* changed from class -->SJF<-- */
  42.  
  43.  
  44. Extra lines in 2nd before 58 in 1st (File "AddressXlation.h"; Line Δ58; File "fixed:AddressXlation.h"; Line 71:81)
  45.   71    /* added for C++ support -->SJF<-- */
  46.   72    #ifdef __cplusplus
  47.   73    extern "C" {
  48.   74    #endif
  49.   75    
  50.   76    
  51.   77    #ifdef THINK_C
  52.   78    typedef ProcPtr EnumResultProcPtr;
  53.   79    typedef ProcPtr ResultProcPtr;
  54.   80    typedef ProcPtr ResultProc2Ptr;
  55.   81    #else
  56.  
  57.  
  58. Extra lines in 2nd before 63 in 1st (File "AddressXlation.h"; Line Δ63; File "fixed:AddressXlation.h"; Line 87)
  59.   87    #endif
  60.  
  61.  
  62. Nonmatching lines (File "AddressXlation.h"; Line 78; File "fixed:AddressXlation.h"; Line 103:110)
  63.   78    extern OSErr CloseResolver();
  64.  
  65.  103    extern OSErr CloseResolver(void);   /* Added (void) to make it a prototype (Think C) -->SJF<-- */
  66.  104    
  67.  105    /* added for C++ support -->SJF<-- */
  68.  106    #ifdef __cplusplus
  69.  107    }
  70.  108    #endif
  71.  109    
  72.  110    #endif      /* conditional include -->SJF<-- */
  73.  
  74. *** EOF on both files ***
  75.